package com.qhhc.entity;

public class Employee {
    private Long empId;
    private String empName;
    private String empPhone;
    private int empType;
    private String empIdno;
    private double empSalary;
    public  Employee(){}

    public Employee(Long empId, String empName, String empPhone, int empType, String empIdno, double empSalary) {
        this.empId = empId;
        this.empName = empName;
        this.empPhone = empPhone;
        this.empType = empType;
        this.empIdno = empIdno;
        this.empSalary = empSalary;
    }

    public Long getEmpId() {
        return empId;
    }

    public void setEmpId(Long empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpPhone() {
        return empPhone;
    }

    public void setEmpPhone(String empPhone) {
        this.empPhone = empPhone;
    }

    public int getEmpType() {
        return empType;
    }

    public void setEmpType(int empType) {
        this.empType = empType;
    }

    public String getEmpIdno() {
        return empIdno;
    }

    public void setEmpIdno(String empIdno) {
        this.empIdno = empIdno;
    }

    public double getEmpSalary() {
        return empSalary;
    }

    public void setEmpSalary(double empSalary) {
        this.empSalary = empSalary;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "empId=" + empId +
                ", empName='" + empName + '\'' +
                ", empPhone='" + empPhone + '\'' +
                ", empType=" + empType +
                ", empIdno='" + empIdno + '\'' +
                ", empSalary=" + empSalary +
                '}';
    }

}
